package com.keba.lamp.ai.vo.update;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import com.keba.basic.base.entity.SuperEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;

/**
 * <p>
 * 表单修改方法VO
 * 模型
 * </p>
 *
 * @author twg
 * @date 2025-03-02 19:37:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "模型")
public class AiModelUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 乐观锁
     */
    @Schema(description = "乐观锁")
    @NotNull(message = "请填写乐观锁")
    private Integer revision;
    /**
     * 是否删除，0-未删除，1-删除
     */
    @Schema(description = "是否删除，0-未删除，1-删除")
    private Integer isDel;
    /**
     * 模型名称
     */
    @Schema(description = "模型名称")
    @NotBlank(message = "请填写模型名称", groups = SuperEntity.Update.class)
    @Size(max = 100, message = "模型名称长度不能超过{max}")
    private String modelName;
    /**
     * 模型品牌（来自数据字典表）
     */
    @Schema(description = "模型品牌（来自数据字典表）")
    @NotBlank(message = "请填写模型品牌", groups = SuperEntity.Update.class)
    @Size(max = 50, message = "模型品牌（来自数据字典表）长度不能超过{max}")
    private String brandName;
    /**
     * 备注说明
     */
    @Schema(description = "备注说明")
    @Size(max = 255, message = "备注说明长度不能超过{max}")
    private String description;


}
